@*
生成者：
生成时间：2022-05-01 14:34:14
代码由代码生成器自动生成，更改的代码可能被进行替换
界面如需更改，建议直接将内容剪切到自己的文件内，保留此空白文件
Caviar ©2021 Created by 北音执念
*@
@page "/User/CreateEntity"
@page "/User/UpdateEntity"
@inherits DataComponentBase<UserView,User>

<Form @ref="_meunForm" 
    LabelColSpan="6"
    WrapperColSpan="16"
    Model="@DataSource" 
    OnFinish="FormSubmit" 
    ValidateMode="@FormValidateMode.Rules" 
    ValidateOnChange="true">
    <CavFormItem  FieldName='NickName' FieldRules='@context.Entity'>
        <Input @bind-Value='@context.Entity.NickName' />
    </CavFormItem>
    <CavFormItem  FieldName='UserName' FieldRules='@context.Entity'>
        <Input @bind-Value='@context.Entity.UserName' />
    </CavFormItem>
    <CavFormItem  FieldName='Password' FieldRules='@context.Entity'>
        <Input @bind-Value='@context.Entity.Password' />
    </CavFormItem>
    <CavFormItem  FieldName='Name' FieldRules='@context.Entity'>
        <Input @bind-Value='@context.Entity.Name' />
    </CavFormItem>
    <CavFormItem  FieldName='Email' FieldRules='@context.Entity'>
        <Input @bind-Value='@context.Entity.Email' />
    </CavFormItem>
    <CavFormItem  FieldName='Birthday' FieldRules='@context.Entity'>
        <DatePicker @bind-Value='@context.Entity.Birthday'/>
    </CavFormItem>
    <CavFormItem  FieldName='Profile' FieldRules='@context.Entity'>
        <Input @bind-Value='@context.Entity.Profile' />
    </CavFormItem>
    <CavFormItem  FieldName='Avatar' FieldRules='@context.Entity'>
        <Input @bind-Value='@context.Entity.Avatar' />
    </CavFormItem>
    <CavFormItem  FieldName='Signature' FieldRules='@context.Entity'>
        <Input @bind-Value='@context.Entity.Signature' />
    </CavFormItem>
    <CavFormItem  FieldName='Telephone' FieldRules='@context.Entity'>
        <Input @bind-Value='@context.Entity.Telephone' />
    </CavFormItem>
    <CavFormItem  FieldName='Hobby' FieldRules='@context.Entity'>
        <Input @bind-Value='@context.Entity.Hobby' />
    </CavFormItem>
    <CavFormItem  FieldName='Vocation' FieldRules='@context.Entity'>
        <Input @bind-Value='@context.Entity.Vocation' />
    </CavFormItem>
    <CavFormItem  FieldName='ClientId' FieldRules='@context.Entity'>
        <Input @bind-Value='@context.Entity.ClientId' />
    </CavFormItem>
    <CavFormItem  FieldName='Token' FieldRules='@context.Entity'>
        <Input @bind-Value='@context.Entity.Token' />
    </CavFormItem>
    <CavFormItem  FieldName='LoginTime' FieldRules='@context.Entity'>
        <DatePicker @bind-Value='@context.Entity.LoginTime'/>
    </CavFormItem>
    <CavFormItem  FieldName='LastLoginTime' FieldRules='@context.Entity'>
        <DatePicker @bind-Value='@context.Entity.LastLoginTime'/>
    </CavFormItem>
    <CavFormItem  FieldName='LastOffline' FieldRules='@context.Entity'>
        <DatePicker @bind-Value='@context.Entity.LastOffline'/>
    </CavFormItem>
    <CavFormItem  FieldName='IsOnline' FieldRules='@context.Entity'>
        <Switch @bind-Value='@context.Entity.IsOnline'/>
    </CavFormItem>
    <CavFormItem  FieldName='IsDisable' FieldRules='@context.Entity'>
        <Switch @bind-Value='@context.Entity.IsDisable'/>
    </CavFormItem>
    <CavFormItem  FieldName='Number' FieldRules='@context.Entity'>
        <Input @bind-Value='@context.Entity.Number' />
    </CavFormItem>
    <CavFormItem  FieldName='Remark' FieldRules='@context.Entity'>
        <TextArea Placeholder='@LanguageService[$"{CurrencyConstant.Page}.{CurrencyConstant.InputRemark}"]'  AllowClear='true' @bind-Value='@context.Entity.Remark' />
    </CavFormItem>
</Form>